package com.example.comiccenter.service;


import com.example.comiccenter.domain.Carousel;
import com.example.comiccenter.utils.ResultData;
import com.example.comiccenter.utils.SearchBean;
import org.springframework.stereotype.Repository;
import org.springframework.web.multipart.MultipartFile;

@Repository
public interface CarouselService {

    ResultData getAllCarousel(SearchBean<Carousel> searchBean);

    ResultData addCarousel(Carousel carousel, MultipartFile picture);

    ResultData deleteCarousel(Carousel carousel);

    ResultData updateCarousel(Carousel carousel, MultipartFile picture);
}
